package com.example.understandvideo.service.transcode;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

@Data// lombok注解，给字段添加getter和setter
@XmlAccessorType(XmlAccessType.FIELD)// 映射所有的字段
@XmlRootElement(name = "task")// XML根节点名称，此处为user
@AllArgsConstructor
@NoArgsConstructor
public class CloudResult {
    @XmlAttribute
    private String id;
    private String status;
    private String startAt;
    private String completeAt;
    private String lastError;
    private String lastErrorDescription;
    private String progress;
}
